package structure.Decorator;

import java.math.BigDecimal;

/**
 * Created by LYJ on 2016/10/19.
 * 具体构件角色
 */
public class CoarsePancake extends Pancake {
    public CoarsePancake() {
        this.name="杂粮煎饼";
    }

    @Override
    public BigDecimal getPrice() {
        return new BigDecimal(5);
    }
}
